﻿<%@ Page Title="" Language="C#" MasterPageFile="~/edit/Admin.Master" AutoEventWireup="true" CodeBehind="RoleList.aspx.cs" Inherits="ChgDoc.Edit.RoleList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="pageContent" runat="server">

<div class="formStyle">
	<asp:datagrid id="grdList" runat="server" autogeneratecolumns=false OnItemCommand="grdList_ItemCommand"  CssClass="grid" >
	<HeaderStyle CssClass="gridHeader" />
	<columns>
		<asp:BoundColumn DataField="Id" visible="false" readonly="true" />
		<asp:BoundColumn DataField="Code" HeaderText="Code" />
        <asp:BoundColumn DataField="Description" HeaderText="Description" />
		<asp:ButtonColumn ButtonType="Linkbutton" CommandName="Edit" Text="Edit" />
        <asp:ButtonColumn ButtonType="Linkbutton" CommandName="Permissions" Text="Permissions" />
		<asp:ButtonColumn ButtonType="Linkbutton" CommandName="Delete" Text="Delete" />
	</columns>
	</asp:datagrid>
</div>
<a href="RoleEdit.aspx?returnurl=rolelist.aspx" text="New file" Class="ui-state-default" style="margin:10px;">Add</a>
</asp:Content>
